package com.Design.Singleton;

/**
 * @Author Lc
 * @Date 2023/9/28
 * @PackageName: com.Design.Singleton
 * @ClassName: Animal
 * @Description:
 */

public class Animal {

    private static Animal animal = new Animal();

    private Animal() {
    }

    public static Animal getInstance(){
        return animal;
    }
}
